package com.jumi.microservice.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jumi.microservice.domain.app.AppVersion;
import org.apache.ibatis.annotations.Select;

/**
 * @author ssk
 * @create 20/10/29 11:06
 **/
public interface AppVersionMapper extends BaseMapper<AppVersion> {

    @Select("SELECT version_id,h5_android_no,h5_ios_no,android_no,ios_no,is_forced,description \n" +
            "from app_version WHERE is_del=0 ORDER BY version_id DESC LIMIT 1")
    AppVersion findLatestVersion();

}
